package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ItemSpu {
    private Long id;
    private String title;
    private String subTitle;
    private Integer categoryId1;
    private Integer categoryId2;
    private Integer categoryId3;
    private String description;
    private String content;
    private Integer brandId;
    private Integer supplierId;
    private Long consignorId;
    private String saasId;
    private LocalDateTime createTime;
    private String createBy;
    private LocalDateTime updateTime;
    private String updateBy;
    private Integer isDel;
    
    // 关联的SKU列表
    private List<ItemSku> skus;
    
    // 分类名称（用于展示）
    private String categoryName1;
    private String categoryName2;
    private String categoryName3;
    
    // 供应商名称（用于展示）
    private String supplierName;
    
    // 品牌名称（用于展示）
    private String brandName;
}